package com.atguigu.d_switch;

public class Test2 {
    public static void main(String[] args) {
        int num1 = (int) (Math.random() * (6)) + 1;
        int num2 = (int) (Math.random() * (6)) + 1;
        int num3 = (int) (Math.random() * (6)) + 1;

        System.out.println("num1 = " + num1);
        System.out.println("num2 = " + num2);
        System.out.println("num3 = " + num3);

        if (num1 == num2 && num1 == num3){
            System.out.println("豹子");
        }else if(num1 + num2 + num3 > 9){
            System.out.println("大");
        }else if(num1 + num2 + num3 < 9){
            System.out.println("小");
        }
    }
}
